package com.ffapp.rainmonitorcustom.bean;

import android.text.TextUtils;

import com.ffapp.rainmonitorcustom.R;
import com.ffapp.rainmonitorcustom.util.MyUtils;

public class WarnListData extends BasisBean {

	/**
	 *
	 */
	private static final long serialVersionUID = 1L;

	//	{
//		"addvcd":"d3da9a6538cc42d48d8ff997bdbefff8",
//			"factorcontent":"污水溢出",
//			"factorvalue":"51.000",
//			"hassolved":false,
//			"id":"bdef840781644de3bea62dcd0a36fb1f",
//			"num":null,
//			"solveperson":"",
//			"solvetime":null,
//			"stcd":"2020052100",
//			"stnm":"外部NTC",
//			"sttp":2,
//			"time":"",
//			"tm":3155734440000,
//			"type":"Z"
//	}
	private String addvcd;
	private String factorcontent;			/**报警内容*/
	private String factorvalue;	/**报警值*/
	private boolean hassolved;			/**是否解决(0：未解决;1：已解决)*/
	private String id;
	private String num;
	private String solveperson;				/**负责人*/
	private String solvetime;					/**解决时间*/
	private String stcd;	/**测站编码*/
	private String stnm;			/**测站名称*/
	private int sttp;			/**站类(0：河道水文站；1：水库水文站；2：雨量站；3：水雨情一体站；4：水质监测站）*/
	private String time;
	private long tm;				/**时间戳*/
	private String type;	/**报警类型 */


	public String getTypeName(){
		switch (sttp){
			case 0:
				return "河道水文站";
			case 1:
				return "水库水文站";
			case 2:
				return "雨量站";
			case 3:
				return "水雨情一体站";
			case 4:
				return "水质监测站";
			default:
				return "";
		}
	}




	public String getAddvcd() {
		return addvcd;
	}

	public void setAddvcd(String addvcd) {
		this.addvcd = addvcd;
	}

	public String getFactorcontent() {
		return factorcontent;
	}

	public void setFactorcontent(String factorcontent) {
		this.factorcontent = factorcontent;
	}

	public String getFactorvalue() {
		return factorvalue;
	}

	public void setFactorvalue(String factorvalue) {
		this.factorvalue = factorvalue;
	}

	public boolean isHassolved() {
		return hassolved;
	}

	public void setHassolved(boolean hassolved) {
		this.hassolved = hassolved;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getSolveperson() {
		return solveperson;
	}

	public void setSolveperson(String solveperson) {
		this.solveperson = solveperson;
	}

	public String getSolvetime() {
		return solvetime;
	}

	public void setSolvetime(String solvetime) {
		this.solvetime = solvetime;
	}

	public String getStcd() {
		return stcd;
	}

	public void setStcd(String stcd) {
		this.stcd = stcd;
	}

	public String getStnm() {
		return stnm;
	}

	public void setStnm(String stnm) {
		this.stnm = stnm;
	}

	public int getSttp() {
		return sttp;
	}

	public void setSttp(int sttp) {
		this.sttp = sttp;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public long getTm() {
		return tm;
	}

	public void setTm(long tm) {
		this.tm = tm;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}



}
